// CloudDlg.h : header file
//

#pragma once

#define WM_DISCONNECT		(WM_USER + 1)
#define WM_REFRESHCLOUD		(WM_USER + 2)

// CCloudDlg dialog
class CCloudDlg : public CDialog
{
// Construction
public:
	CCloudDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_CLOUD_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg LRESULT OnDisconnect(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OnRefreshCloud(WPARAM wParam, LPARAM lParam);
	afx_msg void OnBnClickedButtonSearch();
	afx_msg void OnBnClickedButtonConnect();
	afx_msg void OnBnClickedButtonUpdate();
	afx_msg void OnBnClickedButtonDownload();
	afx_msg void OnBnClickedButtonUpload();
	afx_msg void OnBnClickedButtonDelete();
	afx_msg void OnBnClickedButtonRefresh();
	afx_msg void OnBnClickedButtonSearchOther();
	VOID Output(CString sText);

public:
	CString m_sWorkingDirectory;
};
